#ifndef UMLCARDINALITY_H
#define UMLCARDINALITY_H

#include <QPair>
#include <QVariant>

class UmlCardinality
{
public:
    UmlCardinality();
    UmlCardinality(QString lowerbound, QString upperBound);

    QString lowerBound();
    void setLowerBound(QString lowerBound);

    QString upperBound();
    void setUpperBound(QString upperBound);

    QString toUmlString();

    bool isNull();

    bool operator ==(UmlCardinality cardinality);

private:
    QString _lowerBound;
    QString _upperBound;
};

#endif // UMLCARDINALITY_H
